#include <algorithm>
#include <iostream>
using namespace std;
string a;
string b = "name=\"csrfmiddlewaretoken\"";
int main()
{
    while (cin >> a)
    {
        if (a == b)
        {
            cin >> a;
            for (int i = 7; i < a.size() - 2; i++)
                cout << a[i];
            break;
        }
    }
    return 0;
}